package org.example.Project;


import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface  Mapper{

    //根据ID删除
    public void delete(int id);

    //新增数据
    public void insert(Student student);


    //根据id更新数据Mapper
    public void update(Student student);


    //根据id动态更新数据
    public void update2(Student student);

    //根据ID查询数据
    public Student select(int id);

    //根据条件查询
    public Student select2(Student student);

    //范围范围查询
    public List<Student> select3(List<Integer> list);

}
